package com.example.service;

import com.example.entity.Host;

import java.util.List;

public interface HostService {
    List<Host> hostList();

    List<Host> hostListByUserId();

    boolean deleteHost(Integer family_id);

    List<Host> searchHosts(
            String family_name,
            Double minPrice,
            Double maxPrice
    );
    boolean addHost(Host host); // 新增方法
    Host getHostById(Integer hostId);

}
